<?php
class Mchucvu extends CI_Model{
	public function __construct(){
		parent::__construct();
		$this->load->database();
	}
	
	public function listChucvu(){
		$this->db->order_by('cv_id');
		$this->db->select('cv_id,cv_chucvu');
		$query = $this->db->get('dm_chucvu');
		return $query->result_array();
	}
	
}